package cn.gs.global.table.exchg;

// @author gs
import java.text.MessageFormat;
import javax.persistence.Entity;

@Entity
public class ObjExchg extends Exchange {

    private int obj;
    private int cnt;

    public String toString() {
        return MessageFormat.format("{0} obj:{1} cnt:{2}", super.toString(), obj, cnt);
    }

    public int getObj() {
        return obj;
    }

    public void setObj(int obj) {
        this.obj = obj;
    }

    public int getCnt() {
        return cnt;
    }

    public void setCnt(int cnt) {
        this.cnt = cnt;
    }
}
